Nevron Open Vision Documentation
Nevron.Nov Namespace / NPromise<TResult> Class / Catch Method


In This Topic
    Catch Method (NPromise<TResult>)
    In This Topic
    Adds a rejected handler for this promise.
    Syntax
    'Declaration
     
    
    Public Sub Catch( _
       ByVal rejectedHandler As Nevron.Nov.Function(Of Exception) _
    ) 
    'Usage
     
    
    Dim instance As NPromise(Of TResult)
    Dim rejectedHandler As Nevron.Nov.Function(Of Exception)
     
    instance.Catch(rejectedHandler)
    public void Catch( 
       Nevron.Nov.Function<Exception> rejectedHandler
    )

    Parameters

    rejectedHandler
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also